package com.yand.frame.service;

import com.github.pagehelper.PageInfo;
import com.yand.frame.entity.ActivityMenu;
import com.yand.frame.entity.ActivityRole;

import java.util.List;

public interface RoleService {

    PageInfo queryAllRole(ActivityRole role);

    ActivityRole getRole(int roleId);

    List<ActivityMenu> getMenuByRoleId(int roleId);

    void addRole(ActivityRole role);


    void delRole(int role);

    void updateRole(ActivityRole role);


}
